﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserArticleReportList.aspx.cs"
    Inherits="UserArticleReportList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <link type="text/css" href="css/jquery-ui.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/jquery-ui.js"></script>
    <script type="text/javascript" src="js/lib.js"></script>
    <script type="text/javascript">
        $(function () {
            BindBtn();
            AddTrClass($("#listinfo"));
            $("#txtBeginDateTime").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd" });
            $("#txtEndDateTime").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd" });
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="conBox">
        <table class="form-table">
            <thead>
                <tr>
                    <td colspan="3">
                        查询选项
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr class="tr1">
                    <td class="oneTd">
                        <div>
                            用户：<asp:DropDownList ID="ddlUser" runat="server">
                                <asp:ListItem Value="0" Text="全部"></asp:ListItem>
                            </asp:DropDownList>
                            日期：从<asp:TextBox ID="txtBeginDateTime" runat="server" CssClass="txtbox" Style="width: 100px"></asp:TextBox>到<asp:TextBox
                                ID="txtEndDateTime" runat="server" CssClass="txtbox" Style="width: 100px"></asp:TextBox>
                            <asp:Button ID="btnSubmit" runat="server" Text="查询" OnClick="btnSubmit_Click" CssClass="button" />
                             <asp:Button ID="btnExcel" runat="server" Text="导出" CssClass="button" onclick="btnExcel_Click" />
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="grid-box">
            <table class="grid-table">
                <thead>
                    <tr style="border-bottom: 1px solid #76a3de;">
                        <th class="align-c">
                        </th>
                        <td class="align-c" colspan="2">
                            站内
                        </td>
                        <td class="align-c" colspan="4">
                            新闻源
                        </td>
                        <td class="align-c" colspan="4">
                            外链
                        </td>
                    </tr>
                </thead>
                <thead>
                    <tr>
                        <th class="align-c">
                            日期
                        </th>
                        <td class="align-c">
                            总篇数
                        </td>
                        <td class="align-c">
                            收录数
                        </td>
                        <td class="align-c">
                            总篇数
                        </td>
                        <td class="align-c">
                            收录篇数
                        </td>
                        <td class="align-c">
                            首页收录数
                        </td>
                        <td class="align-c">
                            第二页收录数
                        </td>
                         <td class="align-c">
                            总篇数
                        </td>
                        <td class="align-c">
                            收录篇数
                        </td>
                        <td class="align-c">
                            首页收录数
                        </td>
                        <td class="align-c">
                            第二页收录数
                        </td>
                    </tr>
                </thead>
                <tbody id="listinfo">
                    <asp:Repeater ID="rptReport" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td class="align-c" style="white-space:nowrap;">
                                    <%#Convert.ToDateTime(Eval("CreateTime")).ToString("yyyy年MM月dd日")%>
                                </td>
                                <td class="align-c">
                                    <%#Eval("OurWebCount")%>
                                </td>
                                <td class="align-c">
                                    <%#Eval("OurWebUserCount")%>
                                </td>
                                <td class="align-c">
                                    <%#Eval("NewsAllCount")%>
                                </td>
                                <td class="align-c">
                                    <%#Eval("NewsAllSEOCount")%>
                                </td>
                                <td class="align-c">
                                    <%#Eval("NewsCount1")%>
                                </td>
                                <td class="align-c">
                                    <%#Eval("NewsCount2")%>
                                </td>
                                <td class="align-c">
                                    <%#Eval("LinkAllCount")%>
                                </td>
                                <td class="align-c">
                                    <%#Eval("LinkAllSEOCount")%>
                                </td>
                                <td class="align-c">
                                    <%#Eval("LinkCount1")%>
                                </td>
                                <td class="align-c">
                                    <%#Eval("LinkCount2")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                    <tr>
                        <td class="align-c">
                            <b>总计</b>
                        </td>
                        <td class="align-c">
                            <b>
                                <asp:Literal ID="ltlOurWebCount" runat="server"></asp:Literal></b>
                        </td>
                        <td class="align-c">
                            <b>
                                <asp:Literal ID="ltlOurWebUserCount" runat="server"></asp:Literal></b>
                        </td>
                        <td class="align-c">
                            <b>
                                <asp:Literal ID="ltlNewsAllCount" runat="server"></asp:Literal></b>
                        </td>
                        <td class="align-c">
                            <b>
                                <asp:Literal ID="ltlNewsAllSEOCount" runat="server"></asp:Literal></b>
                        </td>
                        <td class="align-c">
                            <b>
                                <asp:Literal ID="ltlNewsCount1" runat="server"></asp:Literal></b>
                        </td>
                        <td class="align-c">
                            <b>
                                <asp:Literal ID="ltlNewsCount2" runat="server"></asp:Literal></b>
                        </td>
                        <td class="align-c">
                            <b>
                                <asp:Literal ID="ltlLinkAllCount" runat="server"></asp:Literal></b>
                        </td>
                        <td class="align-c">
                            <b>
                                <asp:Literal ID="ltlLinkAllSEOCount" runat="server"></asp:Literal></b>
                        </td>
                        <td class="align-c">
                            <b>
                                <asp:Literal ID="ltlLinkCount1" runat="server"></asp:Literal></b>
                        </td>
                        <td class="align-c">
                            <b>
                                <asp:Literal ID="ltlLinkCount2" runat="server"></asp:Literal></b>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
